spi: cadence_qspi: Clean up the #define names
authorPhil Edworthy <[email protected]>
Tue, 29 Nov 2016 12:58:30 +0000 (12:58 +0000)
committerJagan Teki <[email protected]>
Thu, 15 Dec 2016 15:57:27 +0000 (16:57 +0100)
commit7e76c4b08a30c0a90813ae56cd876555bef8d9f6
tree8ad6b63c41af142061e8970ed3f6b66ddd745781
parentdb37cc9c3954d5e33b218e5635e7e08ff902e3f6
spi: cadence_qspi: Clean up the #define names

A lot of the #defines are for single bits in a register, where the
name has _MASK on the end. Since this can be used for both a mask
and the value, remove _MASK from them.

Whilst doing so, also remove the unnecessary brackets around the
constants.

Signed-off-by: Phil Edworthy <[email protected]>
Acked-by: Marek Vasut <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
drivers/spi/cadence_qspi_apb.c